package com.haichang.demomybatis.entity;

import com.baomidou.mybatisplus.annotation.TableName;

@TableName("goods")
public class Good {
    private int gid;
    private String gname;
    private String gsize;
    private String gremark;

    

    public Good() {
    }
    public Good(int gid, String gname, String gsize, String text) {
        this.gid = gid;
        this.gname = gname;
        this.gsize = gsize;
        this.gremark = text;
    }
    public int getGid() {
        return gid;
    }
    public void setGid(int gid) {
        this.gid = gid;
    }
    public String getGname() {
        return gname;
    }
    public void setGname(String gname) {
        this.gname = gname;
    }
    public String getGsize() {
        return gsize;
    }
    public void setGsize(String gsize) {
        this.gsize = gsize;
    }
    public String getGremark() {
        return gremark;
    }
    public void setGremark(String text) {
        this.gremark = text;
    }
    @Override
    public String toString() {
        return "Good [gid=" + gid + ", gname=" + gname + ", gsize=" + gsize + ", text=" + gremark + "]";
    }

    
}
